﻿@model Abp.Application.Services.Dto.PagedResultDto<Client>;
<form class="form-inline" style="padding:20px 0;">
    <div class="form-group">
        <input placeholder="应用名称" class="form-control" />
    </div>
    <div class="form-group">
        <button type="button" class="btn btn-default">查询</button>
    </div>
    <div class="form-group">
        <a href="create">新建应用</a>
    </div>
</form>

<table class="table table-bordered table-striped">
    <colgroup>
        <col width="300" />
        <col width="200" />
        <col width="120" />
        <col width="100" />
    </colgroup>
    <thead>
        <tr>
            <th>应用名称</th>
            <th>ClientId</th>
            <th></th>
        </tr>
    </thead>
    <tbody>
        @foreach (var client in Model.Items)
        {
            <tr>
                <td>@client.ClientName</td>
                <td>@client.ClientId</td>
                <td>
                    <a href="update/@client.Id">编辑</a>
                </td>
            </tr>
        }
    </tbody>
</table>

<ul class="pagination">
    <li>
        <a href="#" aria-label="Prev"><span aria-hidden="true">上一页</span></a>
    </li>
    <li class="active">
        <a href="#">1 <span class="sr-only">(current)</span></a>
    </li>
    <li>
        <a href="" aria-label="Next"><span aria-hidden="true">下一页</span></a>
    </li>
</ul>